import { EnumProperty, IWidget } from "xcore/cmpnt"
import _ from "lodash";

var InputApp: IWidget = {

  cmpnt: "x-input-app",
  type: "text",
  valueKey: "input-app",
  category: "widgets",
  props: {
    placeholder: "请输入",
    "prefix-icon": "",
    maxlength: 32,
    readonly: false,
    autofocus: true,
    clearable: true,
    disabled: false,
    childrenProps: {
      placeholder: "选择",
      "no-data-text": "暂无数据",
      style: {
        width: "80px",
      },
    },
    style: {
      width: "200px",
    },
    class: [],
    options: [],
    bind: {
      properties: [EnumProperty.Options, EnumProperty.Removed],
    },
  },
  events: {
  },
  ctl: {
    icon: "iconfont te-i-appinput",
    name: "InputApp",
    group: "input",
    text: "后导输入",
  },
};

export { InputApp };
